package com.example.klaraservice.service;

import com.example.klaraservice.pojo.Commodity;

import java.util.List;
import java.util.Map;

/**
 * @author : Glacialerisa
 * @date : 2023/6/5 10:36
 * @desc :
 */
public interface CommodityService {
    public Map<String, Object> selectAllLikeNameAndUid(int pageNum, int pageSize,String name,int id);
    public Map<String, Object> selectAllLikeName(int pageNum, int pageSize, String name);
    public boolean updateCommodityInfo(Commodity commodity);
    public boolean addCommodity(Commodity commodity);
}
